package com.gitee.neuray.security.admin.org.entity;

import com.gitee.neuray.security.common.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

import java.util.Date;

/**
 * 代码生成
 *
 * @author zhoyou
 * @email ${email}
 * @date 2020-03-10 17:12:43
 */
@Data
@Table(name = "ADMIN_ORG")
public class AdminOrgEntity extends BaseEntity {


		/**
	 * 组织名称
	 */
	@Column(name = "ORG_NAME")
	private String orgName;
	
		/**
	 * 父级组织ID
	 */
	@Column(name = "PARENT_ID")
	private String parentId;
	
		/**
	 * 机构层级
	 */
	@Column(name = "ORG_LEVEL")
	private Integer orgLevel;
	
		/**
	 * 保密资格等级---CASIC_ORG_SECRET
	 */
	@Column(name = "ORG_SECRET")
	private String orgSecret;
	
		/**
	 * 单位别名
	 */
	@Column(name = "EXTERNAL_NAME")
	private String externalName;
	
		/**
	 * 本级单位排序值
	 */
	@Column(name = "ORDER_ID")
	private Integer orderId;
	
		/**
	 * 由更新类型synctype判断得出：新增和修改为0，删除为1
	 */
	@Column(name = "DELETED")
	private String deleted;
	
		/**
	 * 
	 */
	@Column(name = "DESCRIPTION")
	private String description;
	
		/**
	 * 
	 */
	@Column(name = "ORG_CODE")
	private String orgCode;
	
		/**
	 * 
	 */
	@Column(name = "PATH_CODE")
	private String pathCode;
	
		/**
	 * 
	 */
	@Column(name = "PATH_NAME")
	private String pathName;
	
}
